<!-- Content -->
<div id="content">

    <!-- Content wrapper -->
    <div class="wrapper">

        <!-- Breadcrumbs line -->
        <div class="crumbs">
            <ul id="breadcrumbs" class="breadcrumb"> 
                <li><a href="#">Panel</a></li>
                <li class="active"><a href="<?= base_url('descargas') ?>" title="">Descargas</a></li>
            </ul>
        </div>
        <!-- /breadcrumbs line -->

        <!-- Page header -->
        <div class="page-header">
            <div class="page-title">
                <h5>Liberar Descarga</h5>
                <span>CIEMPIESS-UNAM</span>
            </div>
        </div>
        <!-- /page header -->

        <?= @$mensaje; ?>
        <?= form_open_multipart('descargas/liberarDescarga') ?>
        <!-- Grid widgets -->
        <div class="row-fluid">
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Español</h6></div></div>
                    <div class="well body">

                        <div class="control-group">
                            <label class="control-label">Descripción:</label>
                            <div class="controls">
                                <textarea rows="10" cols="5"  maxlength="2000" name="coment_es" class="span12" id="req" required ><?= @$coment_es; ?></textarea>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Ingles</h6></div></div>
                    <div class="well body">

                        <div class="control-group">
                            <label class="control-label">Descripción:</label>
                            <div class="controls">
                                <textarea rows="10" cols="5"  maxlength="2000" name="coment_en" class="span12" id="req" required><?=@$coment_en?></textarea>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <!-- /grid widgets -->


        <div class="row-fluid">
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>General</h6></div></div>
                    <div class="well body">
                        <div class="control-group">
                            <label class="control-label">Nombre de descarga: <span class="text-error">*</span></label>
                            <div class="controls">
                                <input type="text" class="validate[required] span12" maxlength="50" name="version" value="<?= @$version; ?>" required/>
                            </div>
                        </div> 

                        <div class="control-group">
                            <label class="control-label">Link de descarga: <span class="text-error">*</span></label>
                            <div class="controls">
                                <input type="text" class="validate[required] span12" maxlength="500" name="link" value="<?= @$link; ?>" required />
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">Etiqueta del botón: <span class="text-error">*</span></label>
                            <div class="controls">
                                <input type="text" class="validate[required] span12" maxlength="50" name="etiqueta" value="<?= @$etiqueta; ?>" required />
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">Imagen del software:</label>
                            <div class="controls">
                                <input type="file" name="file_col" class="styled" id="req">
                            </div>
                        </div>

                        <div class="form-actions align-right">
                            <input name="liberarVersion" type="submit" class="btn btn-info" value="LIBERAR DESCARGA">
                        </div>

                    </div>
                </div>
            </div>
        </div>

        <?= form_close() ?>



    </div>
    <!-- /content wrapper -->

</div>
<!-- /content -->

